package nc.ui.am.test.command;

import nc.ui.am.common.command.Command;
import nc.vo.am.common.status.StatusEvent;
import nc.vo.am.common.util.StatusUtils;
import nc.vo.logging.Debug;

public class QueryCommand extends Command {

	public QueryCommand() {
	}

	@Override
	public void execute() throws Exception {

		Debug.debug("hello world");
	}

	@Override
	public void statusPerformed(StatusEvent event) {
		if (containsOperatorStatus(StatusUtils.insert)) {
			setButtonEnable(false);
		}
		Debug.debug("status changed");
	}

}
